namespace ShareMarking.Entity {
    	using System;
    	
    	
    	/// <summary>
    	/// 表名：test_ncuser 主键列：
    	/// </summary>
    	[SerializableAttribute()]
    	public partial class test_ncuser : MySoft.Data.Entity {
    		
    		protected Int32 _id;
    		
    		protected String _nc_code;
    		
    		protected String _password;
    		
    		protected String _name;
    		
    		protected String _tel;
    		
    		protected String _email;
    		
    		protected String _state;
    		
    		protected String _nc_nature;
    		
    		protected String _entr_date;
    		
    		protected String _leave_date;
    		
    		protected String _ncl_code;
    		
    		protected String _ncl_name;
    		
    		protected String _ncl_tel;
    		
    		/// <summary>
    		/// ID
    		/// </summary>
    		public Int32 id {
    			get {
    				return this._id;
    			}
    			set {
    				this.OnPropertyValueChange(_.id, _id, value);
    				this._id = value;
    			}
    		}
    		
    		/// <summary>
    		/// NC编号
    		/// </summary>
    		public String nc_code {
    			get {
    				return this._nc_code;
    			}
    			set {
    				this.OnPropertyValueChange(_.nc_code, _nc_code, value);
    				this._nc_code = value;
    			}
    		}
    		
    		/// <summary>
    		/// 登录密码
    		/// </summary>
    		public String password {
    			get {
    				return this._password;
    			}
    			set {
    				this.OnPropertyValueChange(_.password, _password, value);
    				this._password = value;
    			}
    		}
    		
    		/// <summary>
    		/// 姓名
    		/// </summary>
    		public String name {
    			get {
    				return this._name;
    			}
    			set {
    				this.OnPropertyValueChange(_.name, _name, value);
    				this._name = value;
    			}
    		}
    		
    		/// <summary>
    		/// 手机
    		/// </summary>
    		public String tel {
    			get {
    				return this._tel;
    			}
    			set {
    				this.OnPropertyValueChange(_.tel, _tel, value);
    				this._tel = value;
    			}
    		}
    		
    		/// <summary>
    		/// Email
    		/// </summary>
    		public String email {
    			get {
    				return this._email;
    			}
    			set {
    				this.OnPropertyValueChange(_.email, _email, value);
    				this._email = value;
    			}
    		}
    		
    		/// <summary>
    		/// 会员状态
    		/// </summary>
    		public String state {
    			get {
    				return this._state;
    			}
    			set {
    				this.OnPropertyValueChange(_.state, _state, value);
    				this._state = value;
    			}
    		}
    		
    		/// <summary>
    		/// NC性质
    		/// </summary>
    		public String nc_nature {
    			get {
    				return this._nc_nature;
    			}
    			set {
    				this.OnPropertyValueChange(_.nc_nature, _nc_nature, value);
    				this._nc_nature = value;
    			}
    		}
    		
    		/// <summary>
    		/// 入职日期
    		/// </summary>
    		public String entr_date {
    			get {
    				return this._entr_date;
    			}
    			set {
    				this.OnPropertyValueChange(_.entr_date, _entr_date, value);
    				this._entr_date = value;
    			}
    		}
    		
    		/// <summary>
    		/// 离职日期
    		/// </summary>
    		public String leave_date {
    			get {
    				return this._leave_date;
    			}
    			set {
    				this.OnPropertyValueChange(_.leave_date, _leave_date, value);
    				this._leave_date = value;
    			}
    		}
    		
    		/// <summary>
    		/// NCL编码
    		/// </summary>
    		public String ncl_code {
    			get {
    				return this._ncl_code;
    			}
    			set {
    				this.OnPropertyValueChange(_.ncl_code, _ncl_code, value);
    				this._ncl_code = value;
    			}
    		}
    		
    		/// <summary>
    		/// NCL姓名
    		/// </summary>
    		public String ncl_name {
    			get {
    				return this._ncl_name;
    			}
    			set {
    				this.OnPropertyValueChange(_.ncl_name, _ncl_name, value);
    				this._ncl_name = value;
    			}
    		}
    		
    		/// <summary>
    		/// NCL手机
    		/// </summary>
    		public String ncl_tel {
    			get {
    				return this._ncl_tel;
    			}
    			set {
    				this.OnPropertyValueChange(_.ncl_tel, _ncl_tel, value);
    				this._ncl_tel = value;
    			}
    		}
    		
    		/// <summary>
    		/// 获取实体对应的表名
    		/// </summary>
    		protected override MySoft.Data.Table GetTable() {
    			return new MySoft.Data.Table<test_ncuser>("test_ncuser");
    		}
    		
    		/// <summary>
    		/// 获取列信息
    		/// </summary>
    		protected override MySoft.Data.Field[] GetFields() {
    			return new MySoft.Data.Field[] {
    					_.id,
    					_.nc_code,
    					_.password,
    					_.name,
    					_.tel,
    					_.email,
    					_.state,
    					_.nc_nature,
    					_.entr_date,
    					_.leave_date,
    					_.ncl_code,
    					_.ncl_name,
    					_.ncl_tel};
    		}
    		
    		/// <summary>
    		/// 获取列数据
    		/// </summary>
    		protected override object[] GetValues() {
    			return new object[] {
    					this._id,
    					this._nc_code,
    					this._password,
    					this._name,
    					this._tel,
    					this._email,
    					this._state,
    					this._nc_nature,
    					this._entr_date,
    					this._leave_date,
    					this._ncl_code,
    					this._ncl_name,
    					this._ncl_tel};
    		}
    		
    		/// <summary>
    		/// 给当前实体赋值
    		/// </summary>
    		protected override void SetValues(MySoft.Data.IRowReader reader) {
    			if ((false == reader.IsDBNull(_.id))) {
    				this._id = reader.GetInt32(_.id);
    			}
    			if ((false == reader.IsDBNull(_.nc_code))) {
    				this._nc_code = reader.GetString(_.nc_code);
    			}
    			if ((false == reader.IsDBNull(_.password))) {
    				this._password = reader.GetString(_.password);
    			}
    			if ((false == reader.IsDBNull(_.name))) {
    				this._name = reader.GetString(_.name);
    			}
    			if ((false == reader.IsDBNull(_.tel))) {
    				this._tel = reader.GetString(_.tel);
    			}
    			if ((false == reader.IsDBNull(_.email))) {
    				this._email = reader.GetString(_.email);
    			}
    			if ((false == reader.IsDBNull(_.state))) {
    				this._state = reader.GetString(_.state);
    			}
    			if ((false == reader.IsDBNull(_.nc_nature))) {
    				this._nc_nature = reader.GetString(_.nc_nature);
    			}
    			if ((false == reader.IsDBNull(_.entr_date))) {
    				this._entr_date = reader.GetString(_.entr_date);
    			}
    			if ((false == reader.IsDBNull(_.leave_date))) {
    				this._leave_date = reader.GetString(_.leave_date);
    			}
    			if ((false == reader.IsDBNull(_.ncl_code))) {
    				this._ncl_code = reader.GetString(_.ncl_code);
    			}
    			if ((false == reader.IsDBNull(_.ncl_name))) {
    				this._ncl_name = reader.GetString(_.ncl_name);
    			}
    			if ((false == reader.IsDBNull(_.ncl_tel))) {
    				this._ncl_tel = reader.GetString(_.ncl_tel);
    			}
    		}
    		
    		public override int GetHashCode() {
    			return base.GetHashCode();
    		}
    		
    		public override bool Equals(object obj) {
    			if ((obj == null)) {
    				return false;
    			}
    			if ((false == typeof(test_ncuser).IsAssignableFrom(obj.GetType()))) {
    				return false;
    			}
    			if ((((object)(this)) == ((object)(obj)))) {
    				return true;
    			}
    			return false;
    		}
    		
    		public class _ {
    			
    			/// <summary>
    			/// 表示选择所有列，与*等同
    			/// </summary>
    			public static MySoft.Data.AllField All = new MySoft.Data.AllField<test_ncuser>();
    			
    			/// <summary>
    			/// ID - 字段名：id - 数据类型：Int32
    			/// </summary>
    			public static MySoft.Data.Field id = new MySoft.Data.Field<test_ncuser>("id");
    			
    			/// <summary>
    			/// NC编号 - 字段名：nc_code - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field nc_code = new MySoft.Data.Field<test_ncuser>("nc_code");
    			
    			/// <summary>
    			/// 登录密码 - 字段名：password - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field password = new MySoft.Data.Field<test_ncuser>("password");
    			
    			/// <summary>
    			/// 姓名 - 字段名：name - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field name = new MySoft.Data.Field<test_ncuser>("name");
    			
    			/// <summary>
    			/// 手机 - 字段名：tel - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field tel = new MySoft.Data.Field<test_ncuser>("tel");
    			
    			/// <summary>
    			/// Email - 字段名：email - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field email = new MySoft.Data.Field<test_ncuser>("email");
    			
    			/// <summary>
    			/// 会员状态 - 字段名：state - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field state = new MySoft.Data.Field<test_ncuser>("state");
    			
    			/// <summary>
    			/// NC性质 - 字段名：nc_nature - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field nc_nature = new MySoft.Data.Field<test_ncuser>("nc_nature");
    			
    			/// <summary>
    			/// 入职日期 - 字段名：entr_date - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field entr_date = new MySoft.Data.Field<test_ncuser>("entr_date");
    			
    			/// <summary>
    			/// 离职日期 - 字段名：leave_date - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field leave_date = new MySoft.Data.Field<test_ncuser>("leave_date");
    			
    			/// <summary>
    			/// NCL编码 - 字段名：ncl_code - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field ncl_code = new MySoft.Data.Field<test_ncuser>("ncl_code");
    			
    			/// <summary>
    			/// NCL姓名 - 字段名：ncl_name - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field ncl_name = new MySoft.Data.Field<test_ncuser>("ncl_name");
    			
    			/// <summary>
    			/// NCL手机 - 字段名：ncl_tel - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field ncl_tel = new MySoft.Data.Field<test_ncuser>("ncl_tel");
    		}
    	}
    }
    